package com.kaibing.hotswap.demo;

public class Main {

    public static void main(String[] args) {
        Hotswap hotswap = new Hotswap();
        new Thread(() -> {
            while (true) {
                hotswap.print();

                try {
                    Thread.sleep(2000);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
            }
        }).start();
    }
}
